// React import removed as it's not used

import styles from './JavaEnvSetupPage.module.scss';

const JavaEnvSetupPage = () => {
  return (
    <div className={styles.javaEnvSetupPage}>
      <h1>Java环境搭建</h1>
      <section>
        <h2>1. 下载JDK</h2>
        <p>访问Oracle官网或OpenJDK网站下载适合您操作系统的JDK版本。</p>
      </section>
      <section>
        <h2>2. 安装JDK</h2>
        <p>按照安装向导的提示完成JDK的安装。</p>
      </section>
      <section>
        <h2>3. 配置环境变量</h2>
        <p>设置JAVA_HOME、PATH等环境变量，以便在命令行中能够执行java命令。</p>
      </section>
      <section>
        <h2>4. 验证安装</h2>
        <p>打开命令行，输入<code>java -version</code>和<code>javac -version</code>命令验证安装是否成功。</p>
      </section>
    </div>
  );
};

export default JavaEnvSetupPage;